#include "itembase.h"
#include "ui_itembase.h"

ItemBase::ItemBase(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::ItemBase)
{
    ui->setupUi(this);
}

ItemBase::~ItemBase()
{
    delete ui;
}

void ItemBase::setShowName(const QString &name)
{
    ui->label->setText(name);
}
